package com.itasura.delegation;

/**
 * @author sailor wang
 * @date 2018/11/22 11:42 AM
 * @description
 */
public class DelegatePrinter implements Printer {
    private Printer printer;

    public DelegatePrinter(Printer printer) {
        this.printer = printer;
    }

    @Override
    public void print(String message) {
        printer.print(message);
    }
}